package com.maserb.monitor.repository;

import com.maserb.monitor.entity.DeviceTreeEntity;
import com.maserb.monitor.model.TreeItemModel;

public interface DeviceTreeRepository {
    void save(DeviceTreeEntity entity,String deviceCode);

    DeviceTreeEntity findOne(String id, String code);

    void loadChildren(TreeItemModel item,String deviceCode);

    void deleteById(String key,String code);
}
